package com.liner.service;

import com.liner.vo.BuyerOrderMasterVo;
import com.liner.entity.OrderMaster;
import com.baomidou.mybatisplus.extension.service.IService;
import com.liner.form.BuyerOrderForm;

/**
 * <p>
 * 订单表 服务类
 * </p>
 *
 * @author liner
 * @since 2022-12-03
 */
public interface OrderMasterService extends IService<OrderMaster> {

    String create(BuyerOrderForm buyerOrderForm);

    BuyerOrderMasterVo detail(Integer buyerId,String orderId);

    Boolean cancel(Integer buyerId, String orderId);

    Boolean finish(String orderId);

    Boolean pay(Integer buyerId, String orderId);

}
